* Global paths

clear all
set more off

* Direction 
cd "D:\Data\workdata\708296\Project - Mother groups and mental health"

* Raw data
global raw "D:\Data\workdata\708296\rawdata2023"

* Work files
global work "D:\Data\workdata\708296\Project - Mother groups and mental health\work"

* Formater?

* Do folder
global do "D:\Data\workdata\708296\Project - Mother groups and mental health\Do"

* Out folder
global out "D:\Data\workdata\708296\Project - Mother groups and mental health\Out"

global covariates "mfr_first mfr_cs mfr_female mfr_lowbw mfr_preterm mfr_homebirth inc_m inc_f married cohab grund_m grund_f higher_m higher_f uni_m uni_f dk_m dk_f alder_m alder_f inp1y_pre out1y_pre gpmw_cons1y_pre gpmw_psyk1y_pre"

* for descriptive analyses
global parentcovars1 "inc_m inc_f married cohab grund_m grund_f uni_m uni_f "
global parentcovars2 "dk_m dk_f alder_m alder_f inp1y_pre out1y_pre gpmw_cons1y_pre gpmw_psyk1y_pre"

global kidcovars "mfr_cs mfr_female mfr_lowbw mfr_preterm mfr_homebirth"


*
global gswpre " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(1 "-12" 2 "-11" 3 "-10" 4 "-9" 5 "-8" 6 "-7" 7 "-6" 8 "-5" 9 "-4" 10 "-3" 11 "-2" 12 "-1", labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"

global gsw2 " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(0(2)24, labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"

global gsw12 " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(0(2)12, labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"

global gswl " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(0(26)104, labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"

global gsq20 " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(0(4)20, labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"

global gsq " ylab(,labcolor(black) glcolor(gs10%33) angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) xlab(1(1)8, labcolor(black) glcolor(gs10%33) grid angle(horizontal) tlcolor(gs10) tlwidth(medthick) ticks) graphregion(color(white)) bgcolor(white) ysize(7) xsize(10) yscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) xscale(line noextend nofextend lcolor(gs10) lwidth(medthick)) graphregion(lcolor(white) fcolor(white)) xtitle(,color(black)) ytitle(,color(black))"
